package com.med.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MedicalRecordDO {

  private Integer medicalRecordId;
  private Integer userId;
  private Integer doctorId;
  private String medicalRecordType;
  private String medicalRecord;
  private String patientDescription;
  private String doctorOpinion;
  private String medicalRecordNumber;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private java.sql.Timestamp medicalRecordCreateTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private java.sql.Timestamp medicalRecordUpdateTime;
  private Integer medicalRecordDelete;
  private String userName;
  private UserDO userDo;
  private String userGender;
  private String userPhoneNumber;

  // 更清晰的集合属性名
  private DoctorDO doctor;

}
